<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml" xmlns:layout="http://www.w3.org/1999/xhtml">
<head>
    <link th:href="${domainAssets}+'/images/logo-ico.png'" rel="shortcut icon"/>
    <title>官网 - 络享</title>
    <link rel="stylesheet" th:href="${domainAssets}+'/css/rockcentOfficial.css'"/>
    <link rel="stylesheet" th:href="${domainAssets}+'/css/LoginRegister.css'"/>

    <!--[if lt IE 9]>
    <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="header">
    <nav id="menu" class="nav_bar navbar main" role="navigation">
        <div class="head-cont">
            <div class="navbar-header">
                <!-- Mall 商户系统注册 -->
                <a th:href="${routes.path('MAIN_USER_SIGN_IN')}" th:if="${merchantMall != null} and ${mallLogo != null}">
                    <img width="250px" height="40px" class="logo_img" th:src="${domainUploads}+${mallLogo?.path}"/>
                </a>
                <a th:if="${merchantMall == null} or ${mallLogo == null}" th:href="${routes.path('MAIN_PREFIX')}" class="mt5">
                    <img width="250px" height="40px" class="logo_img" th:src="${domainAssets}+'/images/o_logo.png'"/>
                </a>
            </div>
        </div>
    </nav>
</div>
<div layout:fragment="content" class="official"
     th:style="${merchantMall} ? (${mallBackground} ? 'background-image: url('+${domainUploads}+${mallBackground?.path}+'); background-size:cover' : 'background-image: url('+${domainAssets}+'/images/obg.jpg); background-size:cover') : 'background-image: url('+${domainAssets}+'/images/obg.jpg); background-size:cover'">
</div>
<footer>
    <ul th:if="${merchantMall == null}" class="nav list-6">
        <li><a th:href="${routes.path('MAIN_PREFIX')}">返回首页</a></li>
        <li><a th:href="${routes.path('MAIN_SERVICE')}">解决方案</a></li>
        <li><a th:href="${routes.path('MAIN_PRODUCTS')}">产品</a></li>
        <li><a th:href="${routes.path('MAIN_SERVICE')}">服务</a></li>
        <li><a th:href="${routes.path('MAIN_ABOUT')}">关于我们</a></li>
    </ul>
    <p class="copyright">
        &copy; 2016 Rockcent.<a href="http://www.miit.gov.cn/" class="decoration-none">粤ICP备14033735号</a>
    </p>
</footer>
<script th:inline="javascript">
    /*<![CDATA[*/
    var ROCK = {
        version: '1.0',
        flag: [[${flag}]],
        frontendUrl: [[${domainAssets}]],
        backendUrl: [[${domainWWW}]],
        apis: {
            register_save_mobile: [[${routes.path('MAIN_USER_REGISTER_SAVE_MOBILE')}]],
            register_check_username: [[${routes.path('MAIN_USER_CHECK_FIELD')}]],
            forgot_password_email: [[${routes.path('MAIN_USER_FORGOT_PASSWORD_EMAIL')}]],
            forgot_password_mobile_captcha: [[${routes.path('MAIN_USER_FORGOT_PASSWORD_MOBILE_CAPTCHA')}]],
            register_save_mobile_captcha: [[${routes.path('MAIN_USER_REGISTER_SAVE_MOBILE_CAPTCHA')}]],
            forgot_password_email_resend: [[${routes.path('MAIN_USER_FORGOT_PASSWORD_EMAIL_RESEND')}]],
            register_save_email_resend: [[${routes.path('MAIN_USER_REGISTER_SAVE_EMAIL_RESEND')}]],
            register_save_mobile_verify_captcha: [[${routes.path('MAIN_USER_REGISTER_SAVE_MOBILE_VERIFY_CAPTCHA')}]],
            forgot_password_mobile_verify_captcha: [[${routes.path('MAIN_USER_FORGOT_PASSWORD_MOBILE_VERIFY_CAPTCHA')}]],
            main_merchant_settled_material: [[${routes.path('MAIN_MERCHANT_SETTLED_MATERIAL')}]]
        }
    };
    /*]]>*/
</script>
<script th:src="${domainAssets}+'/js/app.js'"/>
</body>
</html>
